package org.jeecg.modules.word_order.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.word_order.entity.WorkService;
import org.jeecg.modules.word_order.vo.WorkServiceVo;


/**
 * @Description: work_service
 * @Author: jeecg-boot
 * @Date:   2021-08-17
 * @Version: V1.0
 */
public interface WorkServiceMapper extends BaseMapper<WorkService> {
    /**
     * mybatis-plus多表查询
     * @param page
     * @param wrapper
     * @return
     */
    //参数加上@Param(Constants.WRAPPER),xml里加上${ew.customSqlSegment}可以实现复杂条件检索查询
    public IPage<WorkServiceVo> getWorkServiceByPage(Page<WorkServiceVo> page,@Param(Constants.WRAPPER) Wrapper<WorkServiceVo> wrapper);
}
